package com.igeek.boot.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.igeek.boot.entity.ContractApprovals;
import com.igeek.boot.entity.Contracts;
import com.igeek.boot.vo.PageQueryVO;

public interface IContractApprovals extends IService<ContractApprovals> {
    boolean addApproval(Contracts contracts);

    boolean updateApproval(Integer id, String status);

    boolean updateComment(ContractApprovals approvals);

    Page<ContractApprovals> findPageByApp(PageQueryVO pageQueryVO);

    boolean delContract(Integer id);
}
